Add deprecation annotations for GtkHandleBox and GtkTable
authorMatthias Clasen <mclasen@redhat.com>
Fri, 14 Oct 2011 04:54:01 +0000 (00:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 14 Oct 2011 04:54:01 +0000 (00:54 -0400)
gtk/gtkhandlebox.h
gtk/gtktable.h

index cc8218011a0409223bd176d71153be4b1344388b..1c82d197d8053bba1437afb60d7dc86821752bba 100644 (file)
@@ -81,16 +81,24 @@ struct _GtkHandleBoxClass
 
 
 GType         gtk_handle_box_get_type             (void) G_GNUC_CONST;
+GDK_DEPRECATED
 GtkWidget*    gtk_handle_box_new                  (void);
+GDK_DEPRECATED
 void          gtk_handle_box_set_shadow_type      (GtkHandleBox    *handle_box,
                                                    GtkShadowType    type);
+GDK_DEPRECATED
 GtkShadowType gtk_handle_box_get_shadow_type      (GtkHandleBox    *handle_box);
+GDK_DEPRECATED
 void          gtk_handle_box_set_handle_position  (GtkHandleBox    *handle_box,
                                                   GtkPositionType  position);
+GDK_DEPRECATED
 GtkPositionType gtk_handle_box_get_handle_position(GtkHandleBox    *handle_box);
+GDK_DEPRECATED
 void          gtk_handle_box_set_snap_edge        (GtkHandleBox    *handle_box,
                                                   GtkPositionType  edge);
+GDK_DEPRECATED
 GtkPositionType gtk_handle_box_get_snap_edge      (GtkHandleBox    *handle_box);
+GDK_DEPRECATED
 gboolean      gtk_handle_box_get_child_detached   (GtkHandleBox    *handle_box);
 
 #endif /* GTK_DISABLE_DEPRECATED */
index 71a8594480769c87522d867b24f508bc6c18755f..132b458cbb47d1508b983234a6e1ec9267c5aaf0 100644 (file)
@@ -103,12 +103,15 @@ struct _GtkTableRowCol
 
 
 GType     gtk_table_get_type         (void) G_GNUC_CONST;
+GDK_DEPRECATED_FOR(GtkGrid)
 GtkWidget* gtk_table_new             (guint            rows,
                                       guint            columns,
                                       gboolean         homogeneous);
+GDK_DEPRECATED_FOR(GtkGrid)
 void      gtk_table_resize           (GtkTable        *table,
                                       guint            rows,
                                       guint            columns);
+GDK_DEPRECATED_FOR(GtkGrid)
 void      gtk_table_attach           (GtkTable        *table,
                                       GtkWidget       *child,
                                       guint            left_attach,
@@ -119,31 +122,43 @@ void         gtk_table_attach           (GtkTable        *table,
                                       GtkAttachOptions yoptions,
                                       guint            xpadding,
                                       guint            ypadding);
+GDK_DEPRECATED_FOR(GtkGrid)
 void      gtk_table_attach_defaults  (GtkTable        *table,
                                       GtkWidget       *widget,
                                       guint            left_attach,
                                       guint            right_attach,
                                       guint            top_attach,
                                       guint            bottom_attach);
+GDK_DEPRECATED_FOR(GtkGrid)
 void      gtk_table_set_row_spacing  (GtkTable        *table,
                                       guint            row,
                                       guint            spacing);
+GDK_DEPRECATED_FOR(GtkGrid)
 guint      gtk_table_get_row_spacing  (GtkTable        *table,
                                       guint            row);
+GDK_DEPRECATED_FOR(GtkGrid)
 void      gtk_table_set_col_spacing  (GtkTable        *table,
                                       guint            column,
                                       guint            spacing);
+GDK_DEPRECATED_FOR(GtkGrid)
 guint      gtk_table_get_col_spacing  (GtkTable        *table,
                                       guint            column);
+GDK_DEPRECATED_FOR(GtkGrid)
 void      gtk_table_set_row_spacings (GtkTable        *table,
                                       guint            spacing);
+GDK_DEPRECATED_FOR(GtkGrid)
 guint      gtk_table_get_default_row_spacing (GtkTable        *table);
+GDK_DEPRECATED_FOR(GtkGrid)
 void      gtk_table_set_col_spacings (GtkTable        *table,
                                       guint            spacing);
+GDK_DEPRECATED_FOR(GtkGrid)
 guint      gtk_table_get_default_col_spacing (GtkTable        *table);
+GDK_DEPRECATED_FOR(GtkGrid)
 void      gtk_table_set_homogeneous  (GtkTable        *table,
                                       gboolean         homogeneous);
+GDK_DEPRECATED_FOR(GtkGrid)
 gboolean   gtk_table_get_homogeneous  (GtkTable        *table);
+GDK_DEPRECATED_FOR(GtkGrid)
 void       gtk_table_get_size         (GtkTable        *table,
                                        guint           *rows,
                                        guint           *columns);